﻿using CoreLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Microsoft.Xna.Framework;

namespace CoreLibTestProject
{
    
    
    /// <summary>
    ///This is a test class for C3DModelTest and is intended
    ///to contain all C3DModelTest Unit Tests
    ///</summary>
    [TestClass()]
    public class C3DModelTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for C3DModel Constructor
        ///</summary>
        [TestMethod()]
        public void C3DModelConstructorTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for Collide
        ///</summary>
        [TestMethod()]
        public void CollideTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            Engine.CollideType CollideType = new Engine.CollideType(); // TODO: Initialize to an appropriate value
            Engine.CollideResult expected = new Engine.CollideResult(); // TODO: Initialize to an appropriate value
            Engine.CollideResult actual;
            actual = target.Collide(CollideType);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Draw
        ///</summary>
        [TestMethod()]
        public void DrawTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            GameTime gameTime = null; // TODO: Initialize to an appropriate value
            target.Draw(gameTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for DrawModel
        ///</summary>
        [TestMethod()]
        public void DrawModelTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            target.DrawModel();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for DrawWithShaders
        ///</summary>
        [TestMethod()]
        public void DrawWithShadersTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.DrawWithShaders();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LoadContent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("CoreLib.dll")]
        public void LoadContentTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            C3DModel_Accessor target = new C3DModel_Accessor(param0); // TODO: Initialize to an appropriate value
            target.LoadContent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LoadModel
        ///</summary>
        [TestMethod()]
        public void LoadModelTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            string assetName = string.Empty; // TODO: Initialize to an appropriate value
            target.LoadModel(assetName);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Material
        ///</summary>
        [TestMethod()]
        public void MaterialTest()
        {
            Game gameparameter = null; // TODO: Initialize to an appropriate value
            C3DModel target = new C3DModel(gameparameter); // TODO: Initialize to an appropriate value
            CMaterial expected = null; // TODO: Initialize to an appropriate value
            CMaterial actual;
            target.Material = expected;
            actual = target.Material;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
